<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>Wireframe</title>
		<link rel="stylesheet" href="<?php echo site_url("/jqueryui/css/ui-lightness/jquery-ui-1.8.18.custom.css"); ?>" type="text/css">
		<link rel="stylesheet" href="<?php echo site_url("/bootstrap/css/bootstrap.css"); ?>" type="text/css">
		<script type="text/javascript" language="javascript" src="<?php echo site_url("/jquery/jquery-1.7.1.min.js"); ?>"></script>
		<script type="text/javascript" language="javascript" src="<?php echo site_url("/jquery/jquery.validate.min.js"); ?>"></script>
		<script type="text/javascript" language="javascript" src="<?php echo site_url("/bootstrap/js/bootstrap.js"); ?>"></script>
		<script type="text/javascript" charset="utf-8">
			$(document).ready(function()
			{
				$("[rel='popover']").popover( { animation: true, placement: 'bottom', trigger: 'manual' } );
				$("#login").click(function() {
					$('#login').popover('toggle');
				});
				
				$(".recover-password-btn").live("click", function(){ window.location.href = "./recoverpassword.html" });

				$("#signup").validate();
			});
		</script>
	</head>
	<body>
		<?php $this->load->view('v_navbar'); ?>
		<div class="container">
			<div class="row">
				<div class="span12 ui-corner-all">
					<div class="well">
						<h1>Edit payment account</h1>
						<br/><br/>
						<form name="input" id="signup" action="<?php echo site_url("paymentaccounts/editaccount/"); ?>/<?php echo $accountId;?>" method="post">
						<label for="name">Account Name: <?php echo $accountName;?></label>
						<input type="text" name="name" id="name" />
						<label for="type">Account Type: <?php echo $accountType;?></label>
						<select size="1" name="type" id="type" class="required" >
							<option selected="selected">Credit Card</option>
							<!--option selected="selected">Select an account type</option>
							<option value="checking">Checking Account</option>
							<option value="amex">American Express</option>
							<option value="visa">VISA</option>
							<option value="mcard">Master Card</option>
							<option value="paypal">Pay Pal</option-->
						</select>
						<label for="number">Account Number: <?php echo $accountNumber;?></label>
						<input type="text" name="number" id="number" />
						<br/><br/>
						<input type="submit" value="Save" />
						<a href="<?php echo site_url("paymentaccounts"); ?>"><input type='submit' value='Cancel' /></a>
						</form>
						<br/>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>